package tech.wetech.admin.mapper.system;

import tech.wetech.admin.model.system.Bill;
import tech.wetech.admin.model.system.BillExample;
import tech.wetech.admin.web.dto.system.BillData;


import java.util.List;

public interface BillMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Bill record);

    int insertSelective(Bill record);

    Bill selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Bill record);

    int updateByPrimaryKey(Bill record);

    List<Bill> selectByExample(BillExample example);

    long countByExample(BillExample example);

    List<BillData> selectExpenseInfo(String year);

    List<BillData> selectIncomeInfo(String year);
}
